Skip to content

feat: user scoped audit log#431

Merged
ankitranjan7 merged 17 commits into
mainfrom
feature/user-scoped-audit-log
Jun 15, 2026
Merged

feat: user scoped audit log#431
ankitranjan7 merged 17 commits into
mainfrom
feature/user-scoped-audit-log

Conversation

@beubax

@beubax beubax commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds a user-scoped audit log view and API support for non-admin principals. Audit queries are now filtered server-side by role, support filters and cursor pagination, and the dashboard exposes the audit page to regular users without leaking global/admin-only events.

Motivation and Context

Non-admin users need to review security-relevant activity for their own account, identities, vault, providers, and credential lifecycle events without requiring admin access.

How Has This Been Tested?

  • env -u AUTHSOME_REDIS_URL -u AUTHSOME_DATABASE_URL uv run pytest
  • uv run ruff check src/ tests/
  • uv run ty check src/
  • uv run pnpm --dir ui lint
  • uv run pnpm --dir ui exec tsc --noEmit
  • uv run pre-commit run --all-files
  • ./scripts/build-ui.sh

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • All new and existing tests passed.

@mintlify

mintlify Bot commented Jun 15, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
agentr 🟢 Ready View Preview Jun 15, 2026, 9:12 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@ankitranjan7 ankitranjan7 merged commit 151e0af into main Jun 15, 2026
6 checks passed
@ankitranjan7 ankitranjan7 deleted the feature/user-scoped-audit-log branch June 15, 2026 12:58
@beubax beubax linked an issue Jun 15, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow users to view their scoped audit logs

2 participants